import request from "../../../utils/request"

class User{
    static add=(data)=>request.post('/admin/add',data)
    static list=()=>request.get('/admin/list')
    static del=(adminid)=>request.post('/admin/delete',adminid)
    static updata=(data)=>request.post('/admin/update',data)
    static detail=()=>request.get('/admin/detail')
}
export default User